#ifndef DOORTRIGGER_H
#define DOORTRIGGER_H

#include "TeleportTrigger.h"

/*
*/
class DoorTrigger : public TeleportTrigger
{
    public:
        DoorTrigger(const Vector2df p, const Vector2df s) : TeleportTrigger(p,s) {};
        DoorTrigger(const Vector2df p, const Vector2df s, CRstring parameter) : TeleportTrigger(p,s,parameter) {};
        virtual void hit(const SimpleDirection dir, BaseUnit* player, CRstring parameter="");
        virtual void setState(){};

    protected:
    	Vector2df destination;
        void customUpdate();
    private:
};

#endif // DOORTRIGGER_H

